numbers = [1, 0, 4, 5, 3, 2, 8, 9, 6, 7]
numbers.sort()
print(f"max is {numbers[-1]}, min is {numbers[0]}")